﻿Public Class WareUpdateRequest
    Implements IJosRequest(Of WareUpdateResponse)

    Property WareId As Nullable(Of Long)
    Property ShopCategory As String
    Property Title As String
    Property UpcCode As String
    Property OptionType As String
    Property ItemNum As String
    Property Producter As String
    Property Wrap As String
    Property Length As String
    Property Wide As String
    Property High As String
    Property Weight As String
    Property CostPrice As String
    Property MarketPrice As String
    Property JdPrice As String
    Property Notes As String
    Property PackListing As String
    Property Service As String
    Property Attributes As String
    Property SkuPrices As String
    Property SkuProperties As String
    Property SkuStocks As String
    Property TradeNo As String

#Region "IJosRequest"

    Public Function GetApiName() As String Implements IJosRequest(Of WareUpdateResponse).GetApiName
        Return "360buy.ware.update"
    End Function

    Public Function GetParameters() As System.Collections.Generic.IDictionary(Of String, String) Implements IJosRequest(Of WareUpdateResponse).GetParameters
        Dim parameters As New JosDictionary
        parameters.Add("attributes", Attributes)
        parameters.Add("cost_price", CostPrice)
        parameters.Add("high", High)
        parameters.Add("item_num", ItemNum)
        parameters.Add("jd_price", JdPrice)
        parameters.Add("length", Length)
        parameters.Add("market_price", MarketPrice)
        parameters.Add("notes", Notes)
        parameters.Add("option_type", OptionType)
        parameters.Add("pack_listing", PackListing)
        parameters.Add("producter", Producter)
        parameters.Add("service", Service)
        parameters.Add("shop_category", ShopCategory)
        parameters.Add("sku_prices", SkuPrices)
        parameters.Add("sku_properties", SkuProperties)
        parameters.Add("sku_stocks", SkuStocks)
        parameters.Add("title", Title)
        parameters.Add("trade_no", TradeNo)
        parameters.Add("upc_code", UpcCode)
        parameters.Add("ware_id", WareId)
        parameters.Add("weight", Weight)
        parameters.Add("wide", Wide)
        parameters.Add("wrap", Wrap)
        Return parameters
    End Function

    Public Sub Validate() Implements IJosRequest(Of WareUpdateResponse).Validate

    End Sub

#End Region

End Class
